﻿<%@ Page Title="" Language="C#" MasterPageFile="~/webs/Main.Master" AutoEventWireup="true" CodeBehind="FeedersManagement.aspx.cs" Inherits="OnlineManagement.Web.webs.FeedersManagement" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentNavigation" runat="server">
    <li><a class="shortcut-button" href="BasicSettings.aspx?str=pigPen"><span>
        <img src="../resources/images/pagesUI/pighourse_48.png" alt="icon" /><br />
        猪舍设置 </span></a></li>
    <li><a class="shortcut-button" href="FeedersManagement.aspx"><span>
        <img src="../resources/images/pagesUI/employee_48.png" alt="icon" /><br />
        饲养员管理 </span></a></li>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content-box-header">
        <h3>
            饲养员管理</h3>
        <div class="clear">
        </div>
    </div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

    <asp:Panel runat="server" ID="panShow">
    <div class="content-box-content">
  <div class="notification information png_bg"> <a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
      <div> 饲养员针对猪舍设置的，一个猪舍对应一名饲养员。 </div>
   </div>
      <table>
            <thead>
              <tr>
                <th>编号</th>
                <th>饲养员姓名</th>
                <th>联系电话</th>
                <th>操作</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="6">
                <div class="bulk-actions align-left">
                <asp:Button runat="server" ID="btnAddLink" Text="添加饲养员" class="confirm-button"/>
                <%--<input type="button" id="btnSearchLink" value="猪圈搜索" class="confirm-button"/>--%>
                </div>
                    <div class="pagination">
                        <a href="#" title="First Page">&laquo; 第一页</a><a href="#" title="Previous Page">&laquo; 前一页</a> <a href="#" class="number" title="1">1</a> <a href="#" class="number" title="2">2</a> <a href="#" class="number current" title="3">3</a> <a href="#" class="number" title="4">4</a> <a href="#" title="Next Page">下一页 &raquo;</a><a href="#" title="Last Page">最后一页 &raquo;</a> 
                    </div>
                <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>
            <tbody>
                <tr>
                <td>1</td>
                <td>张三</td>
                <td>哺乳母猪</td>
                <td>
                     <a runat="server" id="linkUpdate" title="修改">
                                <img src="../resources/images/icons/pencil.png" alt="修改" />
                             </a> 
                            <a href="#" title="删除">
                               <img src="../resources/images/icons/cross.png" alt="删除" />
                            </a> 
                </td>
              </tr>
            </tbody>
          </table>
    </div>
    </asp:Panel>

    <asp:Panel ID="PanFeedersUpdate" runat="server" Visible="false">

           <div class="content-box-content">

            <div class="notification attention png_bg"> 
         <a href="#" class="close"><img src="../resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
            <div> 红色星号 <span style=" color:Red">*</span>为必填项目 </div>
          </div>

            <fieldset>
             <p>
              <span class="spanSet">养殖场名称:
                 <asp:TextBox runat="server" ID="txtHoggeryID" Text="鸿森养殖场" Enabled="false" CssClass="text-input small-input"></asp:TextBox>
              </span>
               <span class="spanSet">饲养员姓名:
                <asp:TextBox ID="txtFeeder" runat="server" CssClass="text-input small-input"></asp:TextBox>
             <span style=" color:Red">*</span>
             </span>

              
             <%-- <span class="input-notification success png_bg">Successful message</span>--%>
              <!-- Classes for input-notification: success, error, information, attention -->
            </p>
          <p>
            <span class="spanSet">联系电话:&nbsp;
                <asp:TextBox runat="server" ID="txtDong" CssClass="text-input small-input"></asp:TextBox><span style=" color:Red">*</span>
                </span>
                        <%--     <span class="spanSet">猪舍栏号:&nbsp;
                <asp:TextBox runat="server" ID="txtLan" CssClass="text-input small-input"></asp:TextBox><span style=" color:Red">*</span>
                </span>--%>
          </p>
            <p>
             
              <span class="spanSet">备注信息:
                <asp:TextBox ID="txtComment" runat="server" TextMode="SingleLine" Width="400" MaxLength="50" CssClass="text-input"></asp:TextBox>
                </span>
             </p>
           
            <p>
              <asp:Button ID="btnSave" Text="保存" runat="server" CssClass="confirm-button" />
              <asp:Button ID="btnBack" CssClass="confirm-button"  runat="server" Text="返回"/>
             </p>
             <p>
                <div id="msg"></div>
             </p>
            </fieldset>
            <div class="clear"></div>
        </div>
    </asp:Panel>

    </ContentTemplate>
</asp:UpdatePanel>

</asp:Content>
